package com.backstage.impl.register;

import com.backstage.dao.register.RegisterMapper;
import com.backstage.entity.UserEntity;
import com.backstage.service.register.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by cyn1c on 2018/6/10.
 */
@Service
public class RegisterImpl implements RegisterService{

    @Autowired
    RegisterMapper registerMapper;

    public int registerAccount(UserEntity userEntity){
        return registerMapper.registerAccount(userEntity);
    }
}
